<?php
session_start();
$nama= $_SESSION['carisesibil'].'.xls' ;

// Fungsi header dengan mengirimkan raw data excel
header("Content-type: application/vnd-ms-excel");
 
// Mendefinisikan nama file ekspor "hasil-export.xls"
header("Content-Disposition: attachment; filename=$nama");
 
// Tambahkan table
include 'export4.php';


?>
<meta http-equiv="Refresh" content="1; URL=bilateraltest4.php" >